﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using Capstone_project.DatabaseAccessLayer;

namespace Capstone_project
{
    public partial class frmNextStep : Form
    {
        public frmNextStep()
        {
            InitializeComponent();
        }

        private void frmNextStep_Load(object sender, EventArgs e)
        {
            btnAddModule.Focus();
            string thongbao = "Project is created successful";
            label1.Text = thongbao;
        }

        private void btnAddModule_Click(object sender, EventArgs e)
        {
            frmCreateNewTaskgroup newtaskgroup = new frmCreateNewTaskgroup();
            this.Close();
            newtaskgroup.Show();
        }

        private void btnCancel_Click(object sender, EventArgs e)
        {
            this.Close();
        }

        private void button1_Click(object sender, EventArgs e)
        {
            frmProject a = new frmProject();
            a.frmProject_Load(null, null);
            //frmMain b = new frmMain();
            //b.panelContent.Controls.Add(a);
            this.Close();
        }

        
    }
}
